package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * CPU型号对象 dzbq_cpuinfo
 * 
 * @author tianxingxia
 * @date 2025-01-31
 */
public class DzbqCpuinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer cpuId;

    /** CPU名称 */
    @Excel(name = "CPU名称")
    private String name;

    public void setCpuId(Integer cpuId) 
    {
        this.cpuId = cpuId;
    }

    public Integer getCpuId() 
    {
        return cpuId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cpuId", getCpuId())
            .append("name", getName())
            .toString();
    }
}
